# $Id: PKGBUILD 69579 2012-04-19 07:26:16Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Franco Iacomella <yaco@gnu.org>

pkgname=etl
pkgver=0.04.15
pkgrel=1
pkgdesc="VoriaETL: C++ STL complementory multiplatform template library"
arch=(i686 x86_64)
url="http://synfig.org"
license=('GPL2')
depends=()
conflicts=('synfig-etl')
replaces=('synfig-etl')
#source=(http://arch.p5n.pp.ru/~sergej/dl/synfig-0.63.04.tar.gz)
source=(http://downloads.sourceforge.net/project/synfig/ETL/$pkgver/ETL-$pkgver.tar.gz)
md5sums=('aac5038cdb4067100e57fb52337b0cfd')

build() {
  cd $srcdir/ETL-$pkgver
  [ -f Makefile ] || ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/ETL-$pkgver
  make DESTDIR=$pkgdir install
}
